import Vue from 'vue';
import {
  Pagination,
  Breadcrumb,
  BreadcrumbItem,
  Loading,
  MessageBox,
  Message,
  Notification,
  Carousel,
  CarouselItem,
  Upload,
  Dialog,
  Select,
  Option,
  Button,
  Checkbox,
  InfiniteScroll,
  Menu,
  MenuItem,
  Row,
  Col,
  Form,
  FormItem,
  Input,
  DatePicker,
  Switch,
  Table,
  TableColumn,

} from 'element-ui';

Vue.use(Pagination);
Vue.use(InfiniteScroll);
Vue.use(Breadcrumb);
Vue.use(BreadcrumbItem);
Vue.use(Carousel);
Vue.use(CarouselItem);
Vue.use(Upload);
Vue.use(Dialog);
Vue.use(CarouselItem)
Vue.use(Upload)
Vue.use(Select)
Vue.use(Option)
Vue.use(Button)
Vue.use(Checkbox)
Vue.use(Menu)
Vue.use(MenuItem)
Vue.use(Row)
Vue.use(Col)
Vue.use(Form)
Vue.use(FormItem)
Vue.use(Input)
Vue.use(DatePicker)
Vue.use(Switch)
Vue.use(Table)
Vue.use(TableColumn)


Vue.prototype.$loading = Loading.service;
Vue.prototype.$msgbox = MessageBox;
Vue.prototype.$alert = MessageBox.alert;
Vue.prototype.$confirm = MessageBox.confirm;
Vue.prototype.$prompt = MessageBox.prompt;
Vue.prototype.$notify = Notification;
Vue.prototype.$message = Message;
Vue.prototype.$Checkbox = Checkbox;
